﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="netPay_confirm.aspx.cs" Inherits="Customer_Profile.eCard.Settle.netPay_confirm" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script language="javascript" >
        function grid_SelectionChanged(s, e) {
            s.GetSelectedFieldValues("settle_id", GetSelectedFieldValuesCallback);
        }

        function GetSelectedFieldValuesCallback(values) {
            var convert_settleid = "";
            try {
                for (var i = 0; i < values.length; i++) {
                    convert_settleid += values[i] + ","
                }
            } finally {
            }

            var settleidlist = document.getElementById("hidSettleid");
            settleidlist.value = convert_settleid;
        }

        function convret_check() {
            var hidsettleidlist = document.getElementById("hidSettleid");
            var settleidlist = hidsettleidlist.value;
            if (settleidlist == '') {
                alert("请至少选择一条数据进行转换");
                return false;
            }
            else {
                //alert(settleidlist);                
                return true;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td bgcolor="#1765a7">
                <img height="11" src="/images/pic_results.gif" width="61">
                <asp:HiddenField ID="hidSettleid" runat="server" />        
            </td>
        </tr>
    </table>
    <dx:ASPxGridView ID="gridConvert" runat="server" KeyFieldName="id" Width="100%" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" CssPostfix="Office2003Blue">
        <settingspager mode="ShowAllRecords">
        </settingspager>
        <Images SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2003Blue/GridView/gvLoadingOnStatusBar.gif">
            </LoadingPanelOnStatusBar>
            <LoadingPanel Url="~/App_Themes/Office2003Blue/GridView/Loading.gif">
            </LoadingPanel>
        </Images>
        <ImagesFilterControl>
            <LoadingPanel Url="~/App_Themes/Office2003Blue/Editors/Loading.gif">
            </LoadingPanel>
        </ImagesFilterControl>
        <Styles CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" CssPostfix="Office2003Blue">
            <Header ImageSpacing="5px" SortingImageSpacing="5px">
            </Header>
            <LoadingPanel ImageSpacing="10px">
            </LoadingPanel>
        </Styles>
        <StylesEditors>
            <ProgressBar Height="25px">
            </ProgressBar>
        </StylesEditors>
        <Columns>
            <dx:GridViewCommandColumn ShowSelectCheckbox="True" VisibleIndex="0">
                <HeaderTemplate>
                    <input type="checkbox" onclick="gridConvert.SelectAllRowsOnPage(this.checked);" title="Select/Unselect all rows on the page" />
                </HeaderTemplate>
                <HeaderStyle HorizontalAlign="Center" />
            </dx:GridViewCommandColumn>
            <dx:GridViewDataColumn FieldName="id" VisibleIndex="1" Caption="ID" />            
            <dx:GridViewDataColumn FieldName="seq_no" VisibleIndex="4" Caption="序列号" />
            <dx:GridViewDataColumn FieldName="bank_accountno" VisibleIndex="5" Caption="银行账户" />
            <dx:GridViewDataColumn FieldName="account_name" VisibleIndex="6" Caption="账户名称" />
            <dx:GridViewDataColumn FieldName="bank_name" VisibleIndex="7" Caption="银行名称" />
            <dx:GridViewDataColumn FieldName="bank_sub" VisibleIndex="8" Caption="分行" />
            <dx:GridViewDataColumn FieldName="bank_branch" VisibleIndex="9" Caption="支行" />
            <dx:GridViewDataColumn FieldName="account_type" VisibleIndex="10" Caption="账户类型" />
            <dx:GridViewDataColumn FieldName="amount" VisibleIndex="11" Caption="支付金额" />
            <dx:GridViewDataColumn FieldName="cny" VisibleIndex="12" Caption="币种" />
            <dx:GridViewDataColumn FieldName="province" VisibleIndex="13" Caption="省" />
            <dx:GridViewDataColumn FieldName="city" VisibleIndex="14" Caption="市" />
        </Columns>
        <ClientSideEvents SelectionChanged="grid_SelectionChanged" />
    </dx:ASPxGridView>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />    
    </div>
    </form>
</body>
</html>
